package com.itheima;

public class Ticket implements Runnable{

    private  int ticket = 100;

    @Override
    public void run() {
       if (ticket > 0){
           while (true){
               ticket--;

           }

       }

    }
}
